package engine;

import queries.Document;

public class Documents {

	public static IndexedDocument positiveDocument1() {
		Document doc = new Document();

		doc.setTitle("word_1 word_2");
		doc.setDescription("word_1 word_2 word_3 word_4");
		
		return new IndexedDocument(0, doc, WordTokenizer.tokenize(doc.getTitle()), WordTokenizer.tokenize(doc.getDescription()));
	}
	
	public static IndexedDocument positiveDocument2() {
		Document doc = new Document();

		doc.setTitle("word_1 word_3");
		doc.setDescription("word_1 word_3 word_4");
		
		return new IndexedDocument(1, doc, WordTokenizer.tokenize(doc.getTitle()), WordTokenizer.tokenize(doc.getDescription()));
	}

	public static IndexedDocument negativeDocument1() {
		Document doc = new Document();

		doc.setTitle("word_3 word_5");
		doc.setDescription("word_1 word_3 word_5 word_6");
		
		return new IndexedDocument(2, doc, WordTokenizer.tokenize(doc.getTitle()), WordTokenizer.tokenize(doc.getDescription()));
	}
}
